package com.xmh.security_1.config;

import org.springframework.security.authentication.AuthenticationServiceException;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.AuthenticationException;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.ArrayList;
import java.util.List;

public class OpenIdAuthenticationFilter extends UsernamePasswordAuthenticationFilter {
    //仅处理post

    /***
     * 用于拦截封装token具体验证交由anthenticationManager属性完成，可以在创建时自己设置
     * @return
     */


}
